package com.wang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 评论--张川川

 * @TableName tb_bbs_comment
 */
@TableName(value ="tb_bbs_comment")
@Data
public class TbBbsComment implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer commentId;

    /**
     * 文章id
     */
    private Integer fileId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 内容
     */
    private String commentContent;

    /**
     * 父id 默认0
     */
    private Integer fatherId;

    /**
     * 评论时间
     */
    private Date createDate;

    /**
     * 修改时间
     */
    private Date updateDate;

    /**
     * 删除标识 0未删 1已删
     */
    private Integer delFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    @TableField(exist = false)
    private Integer pagenum;
    @TableField(exist = false)
    private Integer  pagesize;
}